#include <stdio.h>
#include <stdlib.h>
#define LEN 20
int main(int argc, char *argv[])
{
	char ch;
	char name[LEN];
	FILE *fp;
	printf("Please Enter the file name :\n");
	scanf("%s", name);
	if((fp = fopen(name, "r")) == NULL){
		exit(EXIT_FAILURE);	
	}
	while((ch = getc(fp))!= EOF)
	{
		putc(ch, stdout);
	}
	fclose(fp);
	
	return 0;	
} 

